# -*- coding: utf-8 -*-
flag1=True
flag2=False
print("===逻辑运算符之（not）===")
print("not(flag1):"+str(not(flag1)))
print("not(flag2):"+str(not(flag2)))
print("===逻辑运算符之（and）===")
print("falg1 and flag1:"+str(flag1 and flag1))
print("falg1 and flag2:"+str(flag1 and flag2))
print("falg2 and flag2:"+str(flag2 and flag2))
print("falg1 and flag2:"+str(flag1 and flag2))
print("===逻辑运算符之（or）===")
print("falg1 or flag1:"+str(flag1 or flag1))
print("falg1 or flag2:"+str(flag1 or flag2))
print("falg2 or flag2:"+str(flag2 or flag2))
print("falg1 aor flag2:"+str(flag1 or flag2))


